﻿using System.Collections.Generic;
using NFine.Data;
using NFine.Domain._03_Entity.Biz;

namespace NFine.Domain._04_IRepository.Biz
{
    public interface IUserDetailRepository : IRepositoryBase<UserDetailEntity>
    {
        int ClearConsumeForBalance();
        int getMaxTreeDepth();
        decimal GetAllConsume();

        int UpdateTeamHistoryConsume(string userId, decimal money);

        int UpdateUserLevel(string userId, int level);

        int UpdateManagerLevel(string userId, int level);

        int GetLevelFiveChildCount(string userId, decimal money);

        int GetAllLevelCount();

        int GetMemeberCount(string f_UserId);
    }
}